<!DOCTYPEHTML>
<html>
<head>
<meta charset="utf-8">
<title>form特性</title>
</head>
<body>
<input name="name" type="text" form="form1" required />
<form id="form1">
  <input type="submit" value="提交" />
</form>
</body>
</html>
